<!--h_right -->
<div class="content-r">
<div class="rightsidebar">
	<div class="rightsidebar-header">
		 <span><a href="javascript:void(0)" onclick="BookList.addFrom()">添加书单</a></span>书单管理
	</div>
	<div class="rightsidebar-content">
		<ul class="rightsidebar-navul">
			<li <?if (!isset($blid)):?>class="rightsidebar-current-nav"<?endif;?>><a href="<?=self::_makeURL('booklist', 'index', 'mylist')?>">全部漫画(<?=$this->ret['total']?>) </a></li>
			<?foreach ($this->ret['blist'] as $i=>$row):?>
			<li <?if (_('blid')==$row['id']):?>class="rightsidebar-current-nav"<?endif;?>>
	            <div class="rightsidebar-manabar">
					<a href="javascript:void(0)" class="del-classify" title="删除书单" onclick="BookList.removeBookList('<?= $row['id']?>')"></a>
					<a href="javascript:void(0)" class="modity-classify" title="修改书单" onclick="BookList.editGroupFrom('<?= $row['id']?>', '<?=$row['title']?>')"></a>
				</div>
	            <a href="<?= Controller::_makeURL('booklist', 'index', 'mylist', array('blid' => $row['id']))?>"><?=htmlspecialchars($row['title']);?>(<?=$row['nums']?>)</a>
           	</li>
    		<?endforeach;?>
			<li <?if ($blid ==='0'):?>class="rightsidebar-current-nav" <?endif;?> >
			<a href="<?=Controller::_makeURL('booklist', 'index', 'mylist', array('blid' => 0))?>"> 默认书单(<?=$this->ret['default_num']?>)</a>
			</li>
		</ul>
	</div>
</div>
</div> <!--end content-r -->
